package com.ak.game.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * vip用户表(PnVipUser)表实体类
 *
 * @author makejava
 * @since 2024-05-17 19:45:50
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("pn_vip_user")
public class PnVipUser {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    //vip等级
    private Integer vipLevel;
    //当前vip升级奖励(0 未领取  1已领取)
    private Integer upgradeAward;
    //用户名
    private String username;
    //绑定邮箱/firebaseuid
    private String binding;
    //帐号类型（1：手机注册2：三方注册）
    private String accountType;
    //firebase的uid
    private String uid;
    //余额
    private BigDecimal money;
    //币种
    private String currency;
    //累计充值金额
    private BigDecimal recharge;
    //首充逻辑提现的累计
    private BigDecimal firstDraw;
    //用户当前提现的百分比份数
    private BigDecimal drawRatioNum;
    //累计提款金额
    private BigDecimal draw;
    //充值奖金
    private BigDecimal rechargeBonus;
    //首次充值不不满足打码量也可提现
    private Integer firstRule;
    //充值次数
    private Integer rechargeNum;
    //提款次数
    private Integer drawNum;
    //密码
    private String password;
    //提现密码
    private String drawPassword;
    //可提款金额
    private BigDecimal canDraw;
    //提款流水 （需要完成的打码量）
    private BigDecimal drawStream;
    //注册域名
    private String regDomain;
    //注册ip
    private String regIp;
    //最后登录ip
    private String loginIp;
    //注册设备
    private String regFacility;
    //最后登录设备
    private String loginFacility;
    //账号状态(0 正常  1封号  2 禁止提款 3 虚拟用户)
    private Integer status;
    //操作人
    private String operation;
    //操作时间
    private Date operationTime;
    //邀请码
    private String invitationCode;
    //最近充值时间
    private Date rechargeTime;
    //最近提现时间
    private Date drawTime;
    //注册日期
    private Date regDate;
    //登录日期
    private Date loginDate;
    //首充时间
    private Date oneRechargeTime;
    //首充金额
    private BigDecimal oneRechargeMoney;
    //上级代理
    private String superior;
    //归属业务员
    private String affiliation;
    //归属主管
    private String chief;
    //成为代理的时间
    private Date agencyTime;
    //下分渠道(正常下分-0 非正常下分-厂商)
    private String lowerDitch;
    //上分金额:用于记录上分进入金额
    private BigDecimal uploadMoney;
    //真实姓名
    private String realName;
    //身份证号码
    private String realCard;
    //用户幸运值
    private Integer luckyNum;
    //用户临时打码量 （用来计算用户解锁可提现余额）
    private BigDecimal lastCoding;
    //下注量累计
    private BigDecimal allCoding;
    //用户剩余打码量
    private BigDecimal syCoding;
    //计算用户余额小于系统配置最低可提现金额的时间戳
    private Long zeroTime;
    //saba体育上下分的pending记录
    private String pending;
}

